<% include ../header.ejs %>
<div class="addclass" ng-controller="addclassController">
    <div class="addcontain">
        <div class="base">
            <form action="">
                <span ng-init="teacherId='<%=user._id %>'" ng-show="false" ng-model="teacherId"></span>
                <fieldset>
                    <legend>基本信息</legend>
                    <table>
                        <tr>
                            <td class="odd">班级名称</td>
                            <td class="even">
                                <input type="text" ng-model="className" >
                            </td>
                            <td class="odd">人数</td>
                            <td class="even">
                                <input type="text" ng-model="personCount" >
                            </td>
                            <td class="odd">班主任</td>
                            <td class="even">
                                <input type="text" ng-model="chargeTeacher" >
                            </td>
                        </tr>
                        <tr>
                            <td>授课老师</td>
                            <td>
                                <input type="text" ng-model="teachTeacher" >
                            </td>
                            <td>就业老师</td>
                            <td>
                                <input type="text" ng-model="jobTeacher" >
                            </td>
                            <td>助教</td>
                            <td>
                                <input type="text" ng-model="assistant" >
                            </td>
                        </tr>
                        <tr>
                            <td>班级状态</td>
                            <td>
                                <input type="text" ng-model="classStatus" >
                            </td>
                            <td>教室地址</td>
                            <td>
                                <input type="text" ng-model="classAddress" >
                            </td>
                            <td>课程名称</td>
                            <td>
                                <input type="text" ng-model="courseName" >
                            </td>
                        </tr>
                        <tr>
                            <td>开课日期</td>
                            <td>
                                <input type="text" ng-model="startDate" placeholder="XXXX-XX-XX">
                            </td>
                            <td>正课日期</td>
                            <td>
                                <input type="text" ng-model="endDate" placeholder="XXXX-XX-XX">
                            </td>
                            <td>结束日期</td>
                            <td>
                                <input type="text" ng-model="officialDate" placeholder="XXXX-XX-XX">
                            </td>
                        </tr>
                    </table>
                </fieldset>

            </form>
            <div class="btn">
                <button class="button" ng-click="abandon()">舍弃信息</button>
                <button class="button" ng-click="addmsg()">添加信息</button>
            </div>
        </div>
    </div>
</div>